package com.cvte.shop.enums;

/**
 * @author DaiShubo
 * @version 1.0
 * @description 用户等级枚举类
 * @createTime 2020/7/28 5:04 下午
 * @since 1.7
 **/
public enum UserGradeEnum {

    BRONZE(1001,"青铜"),
    BLACK_IRON(1002,"黑铁"),
    GOLD(1003,"黄金"),
    PLATINUM(1004,"白金"),
    MASONRY(1005,"砖石"),
    GRAND_MASTER(1006,"大师"),
    KING(1007,"王者");


    /**
     * 等级code
     */
    private Integer code;

    /**
     * 等级信息
     */
    private String message;

    UserGradeEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    public Integer getCode(){
        return this.code;
    }

    public String getMessage(){
        return this.message;
    }

}
